package com.mybatis.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-03-24 08:41:09
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class StaffInfo extends BaseEntity {

    private Long id;
    private String name;
    private String jobNo;
    private String avatar;
    private String phone;
    private String username;
    private String password;
    private String status;
    private String deptId;
    private String deptName;
    private String isSysAdmin;
    private LocalDateTime lastLoginTime;
    private String lastLoginIp;
    private String loginNum;

    private List<AuthRole> roles;
}
